using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Mirror;
using MrPP.SampleLib;
using GDGeek;

namespace Shows_3D
{
    public static class SampleDataReaderWriter
    {
        //public static void WriteSampleData(this NetworkWriter writer, Sample.Data data)
        //{
        //    writer.WriteInt32(data.id);
        //    writer.WriteString(data.title);
        //    writer.Write(data.transform);
        //    writer.WriteList(data.points);
        //    writer.WriteList(data.addons);
        //}
        //public static Sample.Data ReadSampleData(this NetworkReader reader)
        //{
        //    return new Sample.Data(
        //        reader.ReadInt32(),
        //        reader.ReadString(),
        //        reader.Read<TransformRounding>(),
        //        reader.ReadList<MrPP.SampleLib.Point.Data>(),
        //        reader.ReadList<AddonFactory.Data>());
        //}
    }
}